namespace Crux.Core.Domains;
/// <summary>
/// IGenericEventHandler`
/// </summary>
public interface IGenericEventHandler<in TDomainEvent>
    : IEventHandler
        where TDomainEvent : IDomainEvent
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="data"></param>
    void Handle(TDomainEvent data);
}
